/* Slider */

$slider_size: 12px;
$slider_color: if($variant == 'light', $accent_color, white);

.slider {
  height: $slider_size;
  color: $slider_color;

  // slider trough
  -barlevel-height: 2px; // has to be an odd number
  -barlevel-background-color: $track_color; //background of the trough

  // fill style
  -barlevel-active-background-color: $accent_color; //active trough fill

  // overfill style (red in this case)
  -barlevel-overdrive-color: $destructive_color;
  -barlevel-overdrive-separator-width: 2px;

  // slider handler
  -slider-handle-radius: $slider_size * 0.5; // half the size of the size

  &:hover { color: lighten($slider_color, 5%); }
  &:active { color: darken($slider_color, 5%); }
}
